*{
    padding: 0;
    margin: 0;
}
html, body {
    width: 100%;
    height: 100%;
}
.contain{
    width: 1360px;
    margin: 0 auto;
}
li, ol, li {
    list-style: none;
}
.color{
    width: 100%;
    height: 60px;
    background-color: #333;
}
.top{
    height: 60px;
    position: relative;
    line-height: 46px;
    .left{
        float: left;
        display: flex;
        align-items: center;
        // position: absolute;
        // left: -40px;
    cursor: pointer;
        li{
            margin: 5px;
            color: #fff;
        }
    }
    .right{
        float: right;
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        margin-right: 60px;
        li{
            margin: 5px;
            color: #fff;
        }
        >.tupian{
            width: 24px;
            height: 22px;
            background-image: url(https://p1.qhimg.com/t019bd9e375d813e9d1.png);
            background-position-x: -110px;
            background-position-y: -50px;
            // z-index: 10;
            position: absolute;
            right: -50px;
        }
        .tupian:hover{
            width: 44px;
            height: 40px;
            box-sizing: border-box;
            padding: 20px;
            background-color: #fff;
            background-image: url(https://p1.qhimg.com/t019bd9e375d813e9d1.png);
            background-position-x: -128px;
            background-position-y: -40px;
            position: absolute;
            right: -60px;
        }
    }
}
.center{
    // flex: 1;
    // position: relative;
    .shang{
        display: flex;
        justify-content: space-between;
        position: relative;
        .left{
            display: flex;
            align-items: center;
            margin: 20px 0;
            li{
                margin: auto 5px;
                cursor: pointer;
                img{
                    width: 137px;
                    vertical-align: middle;
                }
            }
        }
        .right{
            display: flex;
            flex-direction: column;
            ul{
                display: flex;
                li{
                    margin: 5px;
                    cursor: pointer;
                }
            }
            .xia{
                // width: 420px;
                height: 30px;
                span{
                    height: 100%;
                    display: block;
                    width: 420px;
                    border: 1px solid #333;
                    border-radius: 30px;
                    float: left;
                    position: relative;
                    input{
                        height: 100%;
                        width: 360px;
                        box-sizing: border-box;
                        border: none;
                        // border-radius: 30px 0 0 30px;
                        margin-left: 20px;
                        border-radius: none;
                    }
                    i{
                        width: 25px;
                     height: 25px;
                       float: right;
                    //    background-color: purple;
                    position: absolute;
                    right: -13px;
                       margin-right: 26px;
                       background-image: url(https://p1.qhimg.com/t019bd9e375d813e9d1.png);
                       background-position-x: -172px;
                       background-position-y: -46px;
                       z-index: 10;
                       cursor: pointer;
                    }
                }
            }
        }
        
    }
    .xian{
        display: flex;
        flex-direction: column;
        position: relative;
        .ul{
            display: flex;
            flex-direction: column;
            .top{
                width: 230px;
                height: 70px;
                display: flex;
                background-color: #333;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                span{
                    display: block;
                    width: 23px;
                    height: 23px;
                    background-image: url(https://p2.qhimg.com/t01bd7a5051ca7bcc11.png);
                }
                p{
                    color: white;
                    margin-left: 5px;

                }
            }
            ul{
                width: 230px;
                display: flex;
                flex-direction: column;
                align-items: center;
                background-color: rgba(51, 51, 51, .5);
                position: absolute;
                top: 70px;
                display: none;
                z-index: 99999999;
                li{
                cursor: pointer;
                margin: 10px auto;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 20px;
                }
                li:last-child{
                    margin-bottom: 160px;
                }
            }
            
        }
        .heng{
            display: block;
            // width: 100%;
            // border: 1px solid black;
            // box-sizing: border-box;
            color: black;
            font-weight: 900;
            hr{
                display: block;
                color: black;
                font-weight: 900;
            }
        }
    }
}
.box{
    width: 480px;
    height: 600px;
    border: 1px solid #333;
    float: left;
    display: flex;
    flex-direction: column;
    position: relative;
    .show{
        width: 100%;
        height: 480px;
        border: 1px solid #333;
        position: relative;
        cursor: none;
        .mask{
            width: 300px;
            height: 300px;
            background-color: yellow;
            opacity: 0.5;
            position: absolute;
            top: 100px;
            left: 100px;
            pointer-events: none;
            cursor: pointer;
            display: none;
        }
    }
    .list{
        flex: 1;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        padding: 20px;
        img{
            width: 88px;
            height: 88px;
            border: 1px solid #333;
            cursor: pointer;
            margin-right: 20px;
            &.active{
                border-color: orange;
            }
        }
    }
    .enlarge{
        width: 510px;
        height: 510px;
        border: 1px solid #333;
        position: absolute;
        top: 0;
        left: 110%;
        // position: relative;
        box-sizing: border-box;
        overflow: hidden;
        display: none;
        z-index: 999999;
        background-color: white;
        img{
            width: 816px;
            height: 816px;
            position: absolute;
            top: -306px;
            left: -293px;
        }
    }
}
// .wai{
    // display: flex;
    // .right{
    //     margin-left: 100px;
    //     display: flex;
    //     flex-direction: column;
    //     .top{
    //         font-size: 20px;
    //         font-weight: 700;
    //     }
    //     .pri{
    //         // font-size: 23px;
    //         // color: red;
    //         display: flex;
    //         margin-top: 100px;
    //         margin-bottom: 100px;
    //         align-items: center;
    //         span{
    //             font-size: 20px;
    //             color: black;
    //         }
    //         .newpri{
    //             font-size: 23px;
    //             color: red;
    //             margin-right: 5px;
    //         }
    //         .oldpri{
    //             font-size: 12px;
    //             text-decoration: line-through;
    //         }
    //     }
    //     .bottom{
    //         display: flex;
    //         align-items: center;
    //         margin-top: 100px;
    //         .mai{
    //             width: 100px;
    //             height: 50px;
    //             border: 1px solid #333;
    //             background-color: pink;
    //             margin-right: 10px;
    //             font-size: 18px;
    //             color: red;
    //         }
    //         .liu{
    //             width: 100px;
    //             height: 50px;
    //             border: 1px solid #333;
    //             background-color: red;
    //             font-size: 18px;
    //             color: white;
                
    //         }
    //     }
    // }
// }

.wai{
    display: flex;
    .right{
        margin: 0 30px;
        display: flex;
        flex-direction: column;
        .top{
            margin-bottom: 90px;
            display: flex;
            flex-direction: column;
            .shang{
                font-size: 20px;
                font-weight: 500;
            }
            .zhong{
                color: red;
            }
        }
        .center{
            display: flex;
            flex-direction: column;
            .pri{
                display: flex;
                align-items: center;
                margin-bottom: 20px;
                span{
                    margin-right: 3px;
                }
                .newpri{
                    font-size: 23px;
                    color: red;
                }
                .oldpri{
                    margin-left: 3px;
                    font-size: 12px;
                    text-decoration: line-through;
                }
            }
            .quan{
                display: flex;
                margin-bottom: 20px;
                p{
                    height: 30px;
                    width: 160px;
                    border: 1px solid #333;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: red;
                    background-color: rgba(255,192,203, .7);
                    cursor: pointer;
                    a{
                        color: red;
                        text-decoration: none;
                    }
                }
            }
            .cuxiao{
                display: flex;
                margin-bottom: 20px;
                span{
                    margin-right: 3px;
                }
                p{
                    display: block;
                    width: 50px;
                    height: 20px;
                    border: 1px solid #333;
                    text-align: center;
                    background-color: rgba(255,192,203, .7);
                    color: red;
                    border-radius: 10px;
                }
                i{
                    font-style: normal;
                    margin-left: 3px;
                    font-weight: 300;
                }
            }
        }
        .warn{
            width: 770px;
            height: 42px;
            display: flex;
            background-color: rgba(255,235,198, .7);
            padding: 0 6px;
            margin-bottom: 20px;
            span{
                display: block;
                width: 55px;
                height: 38px;
                background-image: url(https://p2.qhimg.com/t0162338fb79bf00d67.png);
                margin-right: 3px;
            }
            p{
                color: red;
            }
        }
        .bottom{
            display: flex;
            flex-direction: column;
            .shang{
                display: flex;
                align-items: center;
                margin-bottom: 20px;
                p{
                    width: 150px;
                    height: 30px;
                    border: 1px solid red;
                    margin-left: 3px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background-color: rgba(255,192,203, .5);
                }
            }
            .shuliang{
                display: flex;
                margin-bottom: 20px;
                input{
                    display: block;
                    width: 53px;
                    height: 30px;
                    margin-left: 43px;
                    font-size: 20px;
                }
                .left, .right{
                    width: 30px;
                    height: 30px;
                    border: 1px solid #333;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;
                    
                }
                .disable{
                    background-color: rgba(51, 51, 51, .3);
                    opacity: 0.3;
                    cursor: no-drop;
                }
            }
            .jifen{
                display: flex;
                margin-bottom: 20px;
                span{
                    display: block;
                    font-weight: 100;
                    margin-right: 6px;
                }
                p{
                    font-weight: 500;
                }
            }
            .xia{
                display: flex;
                .mai{
                    width: 160px;
                    height: 50px;
                    background-color: rgba(255,192,203, .7);
                    margin-right: 10px;
                    color: red;
                    cursor: pointer;
                }
                .jia{
                    width: 160px;
                    height: 50px;
                    background-color: rgba(255,0,0, .7);
                    color: white;
                    cursor: pointer;
                }
            }
        }
    }
}
